import request from '@/utils/request'

// 注册接口
export const register = (data) => {
  return request.post('/user/registered', data)
}
// 登录接口
export const login = (data) => {
  return request.post('/user/login', data)
}
// 城市接口
export const areacity = () => {
  return request.get('/area/city', { params: { level: 1 } })
}
